package edu.friday.repository.custom;

import edu.friday.model.SysMenu;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface SysMenuCustomRepository {
    List<SysMenu> selectMenuListByUserId(SysMenu sysMenu, Long userId);
    List<SysMenu> selectMenuListByRoleId(Long roleId);
}
